package com.cema.manage.project.manage.friend.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
    import java.util.Date;

/**
 * 邀请好友表 biz_friend
 *
 * @author reasahi
 * @date 2024-07-08
 */
@TableName(value = "biz_friend")
public class Friend extends Model<Friend>
{
private static final long serialVersionUID=1L;

/** ID */
    @TableId(value = "id")
    private Integer id;
/** 好友ID */
    @TableField(value = "fus_id")
    private Integer fusId;
/** 用户ID */
    @TableField(value = "us_id")
    private Integer usId;
/** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime;

/**
 * 设置：ID
 */
public void setId(Integer id)
        {
            this.id = id;
        }

/**
 * 获取：ID
 */
public Integer getId()
        {
        return id;
        }
/**
 * 设置：好友ID
 */
public void setFusId(Integer fusId)
        {
            this.fusId = fusId;
        }

/**
 * 获取：好友ID
 */
public Integer getFusId()
        {
        return fusId;
        }
/**
 * 设置：用户ID
 */
public void setUsId(Integer usId)
        {
            this.usId = usId;
        }

/**
 * 获取：用户ID
 */
public Integer getUsId()
        {
        return usId;
        }
/**
 * 设置：创建时间
 */
public void setCreateTime(Date createTime)
        {
            this.createTime = createTime;
        }

/**
 * 获取：创建时间
 */
public Date getCreateTime()
        {
        return createTime;
        }

@Override
protected Serializable pkVal(){
        return this.id;
        }
        }

